EmbedPress\Providers\Youtube D

Total Complexity 165
Dependencies 3
Dependents 1
Total lines 897
Lines of code 659
Logical lines of code 380
Comment lines 50
Methods 29
Properties 8

Methods 29

Method Rating Maintainability Complexity Lines of code
get_gallery_page()
D
18
53 227
getChannelGallery()
B
37 21 66
getChannelPlaylist()
A
43 10 47
getChannel()
A
49 10 34
styles()
A
43 8 55
getStaticResponse()
A
47 7 34
get_thumbnail_url()
S
57 6 17
get_id()
S
69 6 6
get_channel_id_by_handler()
S
52 4 25
get_channel_info()
S
52 4 23
getParams()
S
58 4 15
clean_api_error_html()
S
66 4 7
getChannelIDbyUsername()
S
60 3 12
compare_vid_date()
S
70 3 6
getFakeResponse()
S
55 1 18
get_youtube_handler()
S
66 2 8
constructUrl()
S
73 2 4
get_pagesize()
S
73 2 4
get_api_key()
S
73 2 4
get_layout()
S
74 2 4
getEndpoint()
S
69 2 7
isChannel()
S
68 2 7
layout_data()
S
63 1 11
validateUrl()
S
78 1 3
get_api_key_error_message()
S
77 1 3
normalizeUrl()
S
82 1 3
clean_api_error()
S
78 1 3
validateTYLiveUrl()
S
78 1 3
getAllowedParams()
S
82 1 3